


        var banner = new Swiper('.banner .swiper-container',{
                loop:true,
                pagination:{
                        el:'.banner .swiper-pagination',
                        clickable:true
                },
                autoplay: {
                        disableOnInteraction: false,
                },
        })

        var proSwp = new Swiper('.proSwp',{
                loop:true,
                centeredSlides : true,
                centeredSlidesBounds: true,
                slidesPerView: 3,
                spaceBetween: 30,
                pagination: {
                        el: '.proSwp .swiper-pagination',
                        type: 'progressbar',
                        renderProgressbar: function (progressbarFillClass) {
                                return '<span class="' + progressbarFillClass + '"></span>';
                        }
                },
                breakpoints:{
                        767:{
                                slidesPerView:1
                        }
                }
        })

        var coprSwp = new Swiper('.coprSwp',{
                loop:true,
                slidesPerView: 6,
                autoplay: {
                        disableOnInteraction: false,
                },
                breakpoints:{
                        767:{
                                slidesPerView:2
                        }
                }
        })

        var watchPage = null;

        $(document).ready(function(){
            for(var i = 0;i < $('main .contact form .form-group input').length;i++){
                    var holder = $('main .contact form .form-group input').eq(i).attr('placeholder');
                    $('main .contact form .form-group span').eq(i).prepend(holder);
            }
            $('main .contact form .form-group input').focus(function(){
                $(this).parent().addClass('fcs')
            })
            watchPage = setInterval(function(){
                for(var w = 0;w < $('main .contact form .form-group input').length;w++){
                        if($('main .contact form .form-group input').eq(w).parent()[0].className.indexOf('fcs') < 0) continue;
                        var val = $('main .contact form .form-group input').eq(w).val().replace(/\s+/g, "");
                        if(val.length){
                                $('main .contact form .form-group input').eq(w).parent().removeClass('warm');
                        }else{
                                $('main .contact form .form-group input').eq(w).parent().addClass('warm');
                        }
                }
            },10)
            $('main .contact form .form-group input').blur(function(){
                $(this).parent().removeClass('fcs');
            })
            $('main .pro .proSwp .control .btn').click(function(){
                    if($(this)[0].className.indexOf('prev') >= 0){
                            proSwp.slidePrev();
                    }else{
                        proSwp.slideNext();
                    }
            })
        })